//
//  UIView+Extension.swift
//  MQWeibo
//
//  Created by 毛强 on 15/12/28.
//  Copyright © 2015年 itheima. All rights reserved.
//

import UIKit

extension UILabel{
     convenience init(textColor:UIColor, fontSize:CGFloat){
        
        self.init()
        self.textColor = textColor
        self.font = UIFont.systemFontOfSize(fontSize)
    }
}

extension UIButton{

    convenience init(textColor:UIColor, fontSize:CGFloat){
        
        self.init()
        self.setTitleColor(textColor, forState: .Normal)
        self.titleLabel?.font = UIFont.systemFontOfSize(fontSize)
    }
}


